﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Main.master" AutoEventWireup="true" CodeBehind="Analytics.aspx.cs" Inherits="EntryExit.Analytics" %>

<asp:Content ID="statusWheelContent" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxRoundPanel ID="statusWheelPanel" runat="server" Width="100%" HeaderText="Analytics" HorizontalAlign="Center">
        <HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Size="Medium" />
        <PanelCollection>
            <dx:PanelContent>
                <dx:WebChartControl ID="statusWheelDoughnut" runat="server" Height="450px" Width="800px" DataSourceID="SqlDataSourceForDoughNut">
                    <emptycharttext text="No leave history available" />
                    <diagramserializable>
                        <dx:SimpleDiagram3D  Dimension="2" PerspectiveAngle="22" RotationType="UseMouseStandard"></dx:SimpleDiagram3D>
                    </diagramserializable>
                    <fillstyle>
                        <OptionsSerializable>
                            <dx:SolidFillOptions>
                                
                            </dx:SolidFillOptions>
                        </OptionsSerializable>
                    </fillstyle>
                    <legend alignmentvertical="Bottom" backcolor="255, 255, 192"></legend>

                    <seriesserializable>
                        <dx:Series Name="TestSeries" ArgumentDataMember="Status" ArgumentScaleType="Qualitative" SummaryFunction="COUNT()">
                            <ViewSerializable>
                                <dx:Doughnut3DSeriesView Depth="20" HoleRadiusPercent="45">
                                </dx:Doughnut3DSeriesView>
                            </ViewSerializable>
                            <LabelSerializable>
                                <dx:Doughnut3DSeriesLabel LineVisible="True" BackColor="White" LineLength="15">
                                 <border thickness="2" />
<PointOptionsSerializable>
<dx:PiePointOptions PointView="ArgumentAndValues">
<ValueNumericOptions Format="Percent"></ValueNumericOptions>
</dx:PiePointOptions>
</PointOptionsSerializable>
</dx:Doughnut3DSeriesLabel>
</LabelSerializable>
<LegendPointOptionsSerializable>
<dx:PiePointOptions>
<ValueNumericOptions Format="Percent"></ValueNumericOptions>
</dx:PiePointOptions>
</LegendPointOptionsSerializable>
</dx:Series>
</seriesserializable>

                    <seriestemplate><ViewSerializable>
<dx:Doughnut3DSeriesView></dx:Doughnut3DSeriesView>
</ViewSerializable>
<LabelSerializable>
<dx:Doughnut3DSeriesLabel LineVisible="True">
<FillStyle><OptionsSerializable>
<dx:SolidFillOptions></dx:SolidFillOptions>
</OptionsSerializable>
</FillStyle>
<PointOptionsSerializable>
<dx:PiePointOptions></dx:PiePointOptions>
</PointOptionsSerializable>
</dx:Doughnut3DSeriesLabel>
</LabelSerializable>
<LegendPointOptionsSerializable>
<dx:PiePointOptions></dx:PiePointOptions>
</LegendPointOptionsSerializable>
</seriestemplate>

                    <titles>
            <dx:ChartTitle Text="Leave History Analysis" />
        </titles>

                    <crosshairoptions><CommonLabelPositionSerializable>
<dx:CrosshairMousePosition></dx:CrosshairMousePosition>
</CommonLabelPositionSerializable>
</crosshairoptions>

                    <tooltipoptions><ToolTipPositionSerializable>
<dx:ToolTipMousePosition></dx:ToolTipMousePosition>
</ToolTipPositionSerializable>
</tooltipoptions>

                </dx:WebChartControl>

                <asp:SqlDataSource ID="SqlDataSourceForDoughNut" runat="server">
                    <SelectParameters>
                        <asp:SessionParameter Name="LPN" SessionField="SelectedEmployeeLPN" Type="String" Direction="Input" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>
</asp:Content>
<%--<asp:Content ID="OptionsContent" ContentPlaceHolderID="RightContent" runat="server">
    <dx:ASPxSplitter ID="ASPxSplitter1" Orientation="Vertical" runat="server" Width="100%" Height="100%" AllowResize="False" Font-Size="Medium">
        <Panes>
            <dx:SplitterPane ScrollBars="Auto" Size="100%">
                <Separators Visible="False" />
                <ContentCollection>
                    <dx:SplitterContentControl>
                        <dx:ASPxTreeView ID="subOrdinatesTreeView" Width="100%" runat="server" AllowSelectNode="True" OnNodeClick="subOrdinatesTreeView_NodeClick" Theme="SoftOrange">
                        </dx:ASPxTreeView>
                    </dx:SplitterContentControl>
                </ContentCollection>
            </dx:SplitterPane>
        </Panes>
    </dx:ASPxSplitter>
</asp:Content>--%>
